home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / usenet / sources / volume90 / aplictns / xscheme2 / part01 / README.mwh2 < prev    next >
Text File  |  1990-04-14  |  3KB  |  101 lines

  1. Hi there fellow Amiga Schemers!
  2.  
  3.    Here is the XScheme I downloaded from the MIPS Magazine's BBS.  I got
  4. amistuff.c from XLisp2.0's amigastuff.c file.  About the only changes I
  5. made here involved changing MS-DOS's EOF character from ^Z (control-Z)
  6. to the Amiga's ^\ (control-\) and changing the tab stops from every
  7. eight columns to every four. 
  8.  
  9.    I also modified what was needed to get this version (0.20) of XScheme
  10. to compile under Manx 3.6.  The makefile is intended for Manx's Make
  11. program although it's simple enough that almost any make in the world
  12. could use it. 
  13.    
  14.    Here are some problems that I've encountered so far:
  15.  
  16.    The first one looks like some kind of unsigned/signed extension
  17. problem with the 68000 byte-ordering.  Remember, XScheme was originally
  18. written for 80x86 which has a different byte-ordering. 
  19.  
  20. 1]    > (list->string '(#\A #\b #\C #\?))
  21.     "AbC\37777777662"    but it should produce "AbC?"
  22.  
  23.     > #\?
  24.     #\?
  25.  
  26.     >
  27.  
  28. 2]    (transcript-on "file.nam")  doesn't work!!!
  29.  
  30. 3]    Not a problem with XScheme itself but the some of the bogus
  31.     '881 assembler code generated by the Manx C compiler.
  32.     If you use the -A option (don't assemble) when compiling
  33.     XSMATH.C then you'll get the assembler output from the C
  34.     compiler.  It is this that you can edit manually and assemble
  35.     after changing the following lines according to the sample
  36.     change given thereafter.
  37.  
  38.     Aztec 68000 Assembler 3.6a  12-18-87
  39.         sin.l    d0
  40.         ^
  41.     File xsmath.s; Line 1571 # Unknown opcode or directive.
  42.         cos.l    d0
  43.         ^
  44.     File xsmath.s; Line 1583 # Unknown opcode or directive.
  45.         tan.l    d0
  46.         ^
  47.     File xsmath.s; Line 1591 # Unknown opcode or directive.
  48.         asin.l    d0
  49.         ^
  50.     File xsmath.s; Line 1599 # Unknown opcode or directive.
  51.         acos.l    d0
  52.         ^
  53.     File xsmath.s; Line 1607 # Unknown opcode or directive.
  54.         atan.l    d0
  55.         ^
  56.     File xsmath.s; Line 1615 # Unknown opcode or directive.
  57.         etox.l    d0
  58.         ^
  59.     File xsmath.s; Line 1623 # Unknown opcode or directive.
  60.         logn.l    d0
  61.         ^
  62.     File xsmath.s; Line 1631 # Unknown opcode or directive.
  63.         sqrt.l    d0
  64.         ^
  65.     File xsmath.s; Line 1642 # Unknown opcode or directive.
  66.     9 errors
  67.  
  68.  
  69.     Around the aforementioned errors you'll see code something
  70.     like this:
  71.  
  72.         move.l    -12(a5),d0
  73.         sin.l    d0
  74.         fmove.l    d0,fp0
  75.  
  76.     Change that to this:
  77.  
  78.         fsin.l    -12(a5),fp0
  79.  
  80.  
  81.     Heck, I'll tell you what... I'll include an '881 version of XScheme
  82. along with the assembly language source code PLUS I'll even give you the
  83. patched assembler output.  Naturally, this is for you folks with an
  84. 68020/'881 combination.  How's that for service? :-)
  85.  
  86. 4]  Remember to set the system stack to something appropriate.  I was
  87.     running into problems with munching lists of 360 floats and my stack
  88.     was set at 20000.   Enlarging it to 65000 ``seemed'' to fix my
  89.     problems.
  90.  
  91.  
  92.  
  93.  
  94.           Rusty Haddock
  95.     US Snail: 8719 Contee Rd.  Apt. #103
  96.           Laurel, Maryland
  97.           USA   20708-1907
  98.  
  99.     USENET:   uunet!mimsy!fe2o3!rusty
  100.     INTERNET: rusty%fe2o3@mimsy.umd.edu
  101.